package com.csproj.system.service.mapper;



import com.csproj.siiat.service.mapper.EntityMapper;
import com.csproj.system.domain.AuthorityInfo;
import com.csproj.system.domain.Dictionary;
import com.csproj.system.service.dto.AuthorityInfoDTO;
import org.mapstruct.*;


/**
 * Mapper for the entity AuthorityInfo and its DTO AuthorityInfoDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface AuthorityInfoMapper extends EntityMapper<AuthorityInfoDTO, AuthorityInfo> {

    default AuthorityInfo fromId(String id) {
        if (id == null) {
            return null;
        }
        AuthorityInfo authorityInfo = new AuthorityInfo();
        authorityInfo.setId(id);
        return authorityInfo;
    }

}
